﻿using HSJM.Service.MWS.Core.Configs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HSJM.Service.MWS.Utility
{
    public class PubConstant
    {
        public static string[] RedisIp
        {
            get
            {
                string[] redisIp = AppsettingsConfig.RedisConfig.RedisIp; 
                return redisIp;
            }
        }

        public static string RedisPort
        {
            get
            {
                string redisPort = AppsettingsConfig.RedisConfig.RedisPort; 
                return redisPort;
            }
        }

        public static string RedisPass
        {
            get
            {
                string redisPass =AppsettingsConfig.RedisConfig.RedisPass; 
                return redisPass;
            }
        }



        public static string[] Sentinel
        {
            get
            {
                string[] sentinel = AppsettingsConfig.RedisConfig.Sentinel;
                return sentinel;
            }
        }
    }
}
